//
//  UsageDetailModel.m
//  Gas
//
//  Created by 张伟良 on 17/5/24.
//  Copyright © 2017年 HongHu. All rights reserved.
//

#import "UsageDetailModel.h"

@implementation UsageDetailModel


- (NSString *)tranlationDate:(NSString *)string
{
    NSDateFormatter *inputFormatter = [[NSDateFormatter alloc] init];
    [inputFormatter setDateFormat:@"yyyy-MM-dd"];
    NSDate *inputDate = [inputFormatter dateFromString:string];
    
    NSDateFormatter *outputFormatter = [[NSDateFormatter alloc] init];
    [outputFormatter setDateFormat:@"yyyy年MM月dd日"];
    string = [outputFormatter stringFromDate:inputDate];
    return string;
}

@end

@implementation UsageDetailModel1


@end
